package com.FilePortal.entity;

import java.sql.Timestamp;
import java.util.Date;

public class File {
    Timestamp uploadTime;//上传时间
    Timestamp deltime;//到期删除时间
    String file;//文件路径
    String code;//取件码
    String password;//取件密码
    int remain;//剩余下载次数
    String name;//文件名


    public String getName() { return name; }

    public void setName(String name) { this.name = name; }

    public Timestamp getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Timestamp uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Timestamp getDeltime() {
        return deltime;
    }

    public void setDeltime(Timestamp deltime) {
        this.deltime = deltime;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRemain() {
        return remain;
    }

    public void setRemain(int remain) {
        this.remain = remain;
    }
}
